/*
	Author: Superxpdude

	Description:
	Enable or disable damage for a certain unit

	Parameter(s):

		0: Object - Unit
		1: Boolean - True to enable damage, false to disable damage.

	Returns:
	NOTHING
*/
_unit = _this select 0;
_enable = _this select 1;

_unit allowDamage _enable;